package finedev.work.vennue;

import java.util.ArrayList;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ListView;

public class VideoActivity extends Activity {
	
	private Activity mActivity;
	
	private ListView mListView;
	private VideoListAdapter mVideoListAdapter;
	private ArrayList<VideoItem> mVideoListData = new ArrayList<VideoItem>();

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_video);
        
        mActivity = this;
        
        mListView = (ListView) findViewById(R.id.video_listview);
        mVideoListAdapter = new VideoListAdapter( this, R.layout.video_row, mVideoListData );
        mListView.setAdapter( mVideoListAdapter );
        
        mListView.setOnItemClickListener( new OnItemClickListener() {

			@Override
			public void onItemClick(AdapterView<?> parentView, View view, int position, long id) {
				// TODO Auto-generated method stub
				
			}
		} );
        
    }

//    @Override
//    public boolean onCreateOptionsMenu(Menu menu) {
//        getMenuInflater().inflate(R.menu.activity_video, menu);
//        return true;
//    }
}
